ResultSaveDays = 3
# 电子围栏构建
ELECTRONIC_FENCE = {
    # key   name; Value     PointsList
    'ljk1': {
        'Description': "dam name is ljk1",
        # OriginSize    ------>     h, w
        'OriginSize': (1080, 1920),
        # MaskResize    ------>     w, h
        'MaskResize': (960, 540),
        'PointsList': [[225, 432 ], [5, 465 ], [5, 538 ], [1460, 942 ], [1721, 935 ], [1917, 929 ], [1916, 423 ], [1469, 401 ], [1074, 389 ], [807, 402 ], [617, 413 ], [502, 422 ], [407, 432 ], [351, 426 ], [319, 435 ], [294, 431 ] ]
    },
    'sn1': {
        'Description': "dam name is sn1",
        # OriginSize    ------>     h, w
        'OriginSize': (1440, 2560),
        # MaskResize    ------>     w, h
        'MaskResize': (960, 540),
        'PointsList': [[1016, 680 ], [1016, 687 ], [1103, 721 ], [1159, 736 ], [1128, 743 ], [1134, 755 ], [1125, 758 ], [1149, 768 ], [1233, 769 ], [1266, 787 ], [1270, 794 ], [1312, 797 ], [1359, 806 ], [1408, 822 ], [1401, 836 ], [1309, 866 ], [1620, 971 ], [1763, 1229 ], [1816, 1203 ], [1888, 1218 ], [1922, 1300 ], [2557, 1406 ], [2556, 691 ], [1941, 666 ], [1859, 659 ], [1774, 657 ], [1609, 673 ] ]
    }
}
ELECTRONIC_FENCE_ABNORMAL_URL = "/v1/abnormal-detection/electronic-fence"